﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace CMS.Web.Site.Aspx {
	public partial class Article : System.Web.UI.Page {

		protected override void OnLoad(EventArgs e) {
			int articleId = 0;

			if (int.TryParse(Request.QueryString["id"], out articleId)) {
				ArticleModel = Core.Article.GetModel(articleId);
			}
		}

		public Model.Article ArticleModel {
			get;
			set;
		}
	}
}
